| 12345678910111213141516171819202122232425 |
- import ApiKeysLayout from '@/components/layouts/APIKeys/APIKeysLayout'
- import DefaultLayout from '@/components/layouts/DefaultLayout'
- import SettingsLayout from '@/components/layouts/ProjectSettingsLayout/SettingsLayout'
- import { DisplayApiSettings } from '@/components/ui/ProjectSettings/DisplayApiSettings'
- import { ToggleLegacyApiKeysPanel } from '@/components/ui/ProjectSettings/ToggleLegacyApiKeys'
- import type { NextPageWithLayout } from '@/types'
- const ApiKeysLegacyPage: NextPageWithLayout = () => {
- return (
- <>
- <DisplayApiSettings showTitle={false} showNotice={false} />
- <ToggleLegacyApiKeysPanel />
- </>
- )
- }
- ApiKeysLegacyPage.getLayout = (page) => (
- <DefaultLayout>
- <SettingsLayout title="api keys (legacy)">
- <ApiKeysLayout>{page}</ApiKeysLayout>
- </SettingsLayout>
- </DefaultLayout>
- )
- export default ApiKeysLegacyPage
|